package hust.offer100.web.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import hust.offer100.service.test.inft.ITestService;

@Controller
@RequestMapping("test")
public class TestController {
	
	@Autowired
	private ITestService testService;
	

	@RequestMapping("helloWeb")
	@ResponseBody
	public String helloWeb() {
		return testService.getTest().toString();
	}

}
